<template>
  <div id='main'>
      <!-- 面包屑 -->
      <div>
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>活动管理</el-breadcrumb-item>
            <el-breadcrumb-item>活动列表</el-breadcrumb-item>
        </el-breadcrumb>
      </div>
  </div>
</template>

<script>
export default {
    name:"NavItem",
    data(){
        return {
            //获取来的数据
            obj:{},
        }
    },
    mounted() {
        this.$api.getNav(1005009).then(res => {
            console.log(res.data)
            this.obj = res.data;
        })
    },
}
</script>

<style lang='scss' scoped>
    #main{
        width:66%;
        outline: 1px solid red;
        margin:0 auto;
    }
</style>